package org.study.bookmanager.service;

import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.stereotype.Service;
import org.study.bookmanager.entity.Reservation;
import org.study.bookmanager.io.request.PageReq;

import java.util.List;

public interface ReservationService {
    Object addReservation(UserDetails userDetails, int bookId);

    Object deleteReservation(UserDetails userDetails,int Id);

    Object getReservations(UserDetails userDetails, PageReq pageReq);
}
